package com.zhou.mongo.dao;

import com.zhou.mongo.entity.Student;

import java.util.List;

public interface StudentDao {

    public void save(Student student);

    public Student findUserByName(String name);

    public int update(Student student);

    public void deleteById(Integer id);

    public List<Student> findByPage(Integer pageNo,Integer pageSize);
}
